Repository navigation
refactor(dock): centralize tooltip timing - #1898
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wjyrich The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
6cf4ab2 to
e9311ea
Compare
e9311ea to
2bc46ff
Compare
Reviewer's GuideAPIAdd a shared tooltip show delay and make opening, closing, and destruction consistently start or cancel the pending display.
Uses of the APIUse the shared delay for ordinary dock tooltips, bypass it for card and tray-loader tooltips, and remove the component-specific show timers.
Shorten the task preview timer while retaining previews alongside the newly centralized tooltip delay.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
1. Use a 300 ms tooltip delay on all platforms. 2. Remove local show timers from Dock items. 3. Bypass the delay for tooltips timed by tray-loader. Log: Centralize Dock tooltip timing in PanelToolTip. Influence: Dock tooltips share a consistent delay. refactor(dock): 统一任务栏提示计时 1. 所有平台统一使用 300 毫秒的提示延时。 2. 移除任务栏项目各自的显示计时器。 3. 已由 tray-loader 计时的提示跳过这层延时。 Log: 在 PanelToolTip 中统一任务栏提示计时。 Influence: 任务栏提示采用一致的延时。 PMS: TASK-399397
2bc46ff to
ee14246
Compare
统一任务栏提示的显示计时,所有平台均为 300 毫秒。移除任务栏项目各自的显示计时器,指针离开或提示关闭时取消待显示请求。tray-loader 已经计时的提示跳过公共延时。
验证:构建通过,公共提示计时器的 11 项离屏测试通过。
PMS: TASK-399397
Summary by Sourcery
Centralize dock tooltip timing and lifecycle handling while preserving pre-delayed tray-loader tooltip behavior.
Bug Fixes:
Enhancements: